#ifndef _esp8266_h
#define _esp8266_h

#include "header.h"

#define TX_IDLE_MAX 50

bit ESP8266_Init(void);
bit ESP8266_GET_RTTime(void);
void ESP8266_TIM_per1ms(void);
extern unsigned int RX_idle_cnt;
extern unsigned char RX_8266_Buf[200];
extern unsigned char RX_8266_Buf_p;

#endif